﻿CREATE TABLE [dbo].[tbclasificacionpeli]
(
	[idcategoriapeli] INT,
	[idpelicula] INT,
	constraint PK_norepeatclasific primary key (idcategoriapeli,idpelicula),
	constraint FK_categoriamustexists foreign key (idcategoriapeli) references
	tbcategoriapeli(idcategoriapeli),
	constraint FK_peliculamustexists foreign key (idpelicula) references
	tbpelicula(idpelicula)
)
